Contribution org.nuxeo.ecm.core.automation.featuresContrib--chains
In component org.nuxeo.ecm.core.automation.featuresContrib
org.nuxeo.ecm.core.automation.featuresContrib
inside nuxeo-automation-features-5.8.jar
This contribution is part of XML component Extension Point
Extension point chains of component OperationServiceComponent.Contributed Items
XML Source
<extension point="chains" target="org.nuxeo.ecm.core.operation.OperationServiceComponent">
<chain id="VersionAndAttachFile">
<operation id="Blob.PushList">
</operation>
<operation id="Document.Fetch">
<param name="value" type="string">expr:Context.get("currentDocument")</param>
</operation>
<operation id="Document.CheckIn">
<param name="version" type="string">minor</param>
<param name="comment" type="string">Automatic checkin before file update</param>
</operation>
<operation id="Context.SetInputAsVar">
<param name="name" type="string">newDocument</param>
</operation>
<operation id="Context.SetVar">
<param name="name" type="string">currentDocument</param>
<param name="value" type="string">expr:Context.get("newDocument").id</param>
</operation>
<operation id="Blob.PopList">
</operation>
<operation id="BlobHolder.Attach">
<param name="useMainBlob" type="boolean">true</param>
</operation>
</chain>
<chain id="AttachFiles">
<operation id="BlobHolder.Attach">
<param name="useMainBlob" type="boolean">false</param>
</operation>
</chain>
<chain id="VersionAndAttachFiles">
<operation id="Blob.PushList">
</operation>
<operation id="Document.Fetch">
<param name="value" type="string">expr:Context.get("currentDocument")</param>
</operation>
<operation id="Document.CheckIn">
<param name="version" type="string">minor</param>
<param name="comment" type="string">Automatic checkin before files update</param>
</operation>
<operation id="Context.SetInputAsVar">
<param name="name" type="string">newDocument</param>
</operation>
<operation id="Context.SetVar">
<param name="name" type="string">currentDocument</param>
<param name="value" type="string">expr:Context.get("newDocument").id</param>
</operation>
<operation id="Blob.PopList">
</operation>
<operation id="BlobHolder.Attach">
<param name="useMainBlob" type="boolean">false</param>
</operation>
</chain>
<chain id="FileManager.ImportWithMetaData">
<operation id="FileManager.Import">
<param name="overwite" type="boolean">true</param>
</operation>
<operation id="Document.Update">
<param name="properties" type="properties">expr:Context.get("docMetaData")</param>
</operation>
</chain>
</extension>